home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / aptitude.postrm < prev    next >
Text File  |  2009-09-28  |  1KB  |  45 lines

  1. #! /bin/sh
  2. # postrm script for #PACKAGE#
  3. #
  4. # see: dh_installdeb(1)
  5.  
  6. set -e
  7.  
  8. # summary of how this script can be called:
  9. #        * <postrm> `remove'
  10. #        * <postrm> `purge'
  11. #        * <old-postrm> `upgrade' <new-version>
  12. #        * <new-postrm> `failed-upgrade' <old-version>
  13. #        * <new-postrm> `abort-install'
  14. #        * <new-postrm> `abort-install' <old-version>
  15. #        * <new-postrm> `abort-upgrade' <old-version>
  16. #        * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
  17. # for details, see /usr/doc/packaging-manual/
  18.  
  19. case "$1" in
  20.        remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
  21.  
  22.         ;;
  23.       purge)
  24.         # Clear out /var/lib/aptitude
  25.     rm -fr /var/lib/aptitude
  26.     # Clear out the log
  27.     rm -f /var/log/aptitude /var/log/aptitude.[0-9].gz
  28.     ;;
  29.  
  30.     *)
  31.         echo "postrm called with unknown argument \`$1'" >&2
  32.         exit 0
  33.  
  34. esac
  35.  
  36. # dh_installdeb will replace this with shell code automatically
  37. # generated by other debhelper scripts.
  38.  
  39. # Automatically added by dh_installmenu
  40. if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
  41. # End automatically added section
  42.  
  43.  
  44.  
  45.